package com.goldplusgold.tradedelay.app.base.listeners;

import android.graphics.Bitmap;
import android.os.Bundle;

import com.goldplusgold.network.lib.http.BaseModel;
import com.goldplusgold.tradedelay.app.trade.pojo.TDTradeType;

import java.util.List;

//import com.haotunet.app.goldtreasure.model.BaseModel;
//import com.haotunet.app.goldtreasure.model.Shop;
//import com.haotunet.app.goldtreasure.model.TDTradeType;

public class Interface {
    public interface OnPassBackListener {
        void passBack(BaseModel model);
    }

    public interface OnValueSetClickListener {
        void onValueSet(String value);
    }

    public interface OnTDTypeClickListener {
        void onTypeSet(int value);
    }

    public interface OnTDWayClickListener {
        void onWaySet(int value, List<TDTradeType> list);
    }


    public interface setOnGetImageListener {
        void onImageTask(Bitmap result);
    }

    public interface onBannerClickListener {
        void clickImage();
    }

    public interface CallBack {
        void call(Bundle arg);
    }

    public interface FragmentBackPressed {

        /**
         * 碎片的返回事件
         */
        boolean onBackPressed();
    }
}
